package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ActivityEnrollment;

/**
 * 活动报名Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
public interface ActivityEnrollmentMapper 
{
    /**
     * 查询活动报名
     * 
     * @param enrollmentId 活动报名主键
     * @return 活动报名
     */
    public ActivityEnrollment selectActivityEnrollmentByEnrollmentId(Long enrollmentId);

    /**
     * 查询活动报名列表
     * 
     * @param activityEnrollment 活动报名
     * @return 活动报名集合
     */
    public List<ActivityEnrollment> selectActivityEnrollmentList(ActivityEnrollment activityEnrollment);

    /**
     * 新增活动报名
     * 
     * @param activityEnrollment 活动报名
     * @return 结果
     */
    public int insertActivityEnrollment(ActivityEnrollment activityEnrollment);

    /**
     * 修改活动报名
     * 
     * @param activityEnrollment 活动报名
     * @return 结果
     */
    public int updateActivityEnrollment(ActivityEnrollment activityEnrollment);

    /**
     * 删除活动报名
     * 
     * @param enrollmentId 活动报名主键
     * @return 结果
     */
    public int deleteActivityEnrollmentByEnrollmentId(Long enrollmentId);

    /**
     * 批量删除活动报名
     * 
     * @param enrollmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteActivityEnrollmentByEnrollmentIds(Long[] enrollmentIds);
}
